/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import entities.*;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import model.ServiceFacade;

/**
 *
 * @author luckyboy
 */
@ManagedBean(name = "service")
@SessionScoped
public class ServiceManagedBean {

    @EJB
    private ServiceFacade serviceFacade;
    private int id;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    Service sv = new Service();

    public Service getSv() {
        return sv;
    }

    public void setSv(Service sv) {
        this.sv = sv;
    }

    public ServiceManagedBean() {
    }
   
}
